package com.zc.study.designPattern.创建型设计模式.factoryPattern.simpleFactory;

public class FactoryTest {
    public static void main(String[] args){
        MyFactory factory = new MyFactory();
        MyInterface myi = factory.produce("Two");
        myi.print();
    }
}
